package com.jaxb.binder;

/**
 * When marshal or unmarshal error occurs, BindingException should
 * be throwed.
 * 
 * @author LiuYuQing
 * @version 1.0 2010-12-21
 */
public class BindingException extends RuntimeException {
	/**
	 * The serialVersionUID.
	 */
	static final long serialVersionUID = 8393821581234916787L;

	/**
	 * Default constructor.
	 */
	public BindingException() {
		super();
	}
	
	/**
	 * Construct a BindingException with the specified detail message.
	 * 
	 * @param msg the detail message
	 */
	public BindingException(String msg) {
		super(msg);
	}
	
	/**
	 * Constructs a new runtime exception with the specified detail message and
     * cause.
	 * 
	 * @param msg the detail message
	 * @param cause the cause
	 */
	public BindingException(String msg, Throwable cause) {
		super(msg, cause);
	}
}
